<div class="col-lg-12">

	<h3>Danh sách thành viên</h3>
	<table class="table table-bordered">
	  	<thead>
	  	<tr>
	  		<th>Tên</th>
	  		<th>Link để làm</th>
	  	</tr>
	  	</thead>
	  	<tbody>
	  		<?php foreach ($Mems as $mem) {?>
	  			<tr>
	  				<td><?php echo $mem->memberName ?></td>
	  				<td><a href='<?php echo site_url("/members/register/$mem->memberId") ?>' target="_blank"><?php echo site_url("/members/register/$mem->memberId") ?> </a></td>
	  			</tr>
	  		<?php } ?>
	  	</tbody>
	</table>	

	<h1>Thêm một người mới ở đây</h1>

	<hr />

	<form method="post" action='<?php echo site_url("/admin/member/add");?>' accept-charset="utf-8" role="form horizontal">
  		<div class="form-group">
    		<label for="memberName" class="col-md-1">Tên</label>
    		<div class="col-md-4">
    			<input type="text" class="form-control" id="memberName" name="memberName">
    		</div>
  		</div>
  		<button type="submit" class="btn btn-success">Submit</button>
	</form>
</div>